//
//  USChatCellFactory.h
//  us
//
//  Created by karry on 2025/4/6.
//

#import <Foundation/Foundation.h>
#import "USChatTextCell.h"
#import "USChatImageCell.h"
#import "USChatVoiceCell.h"
#import "USChatEmojiCell.h"
#import "USMessageViewModel.h"
#import "USChatRecallCell.h"
NS_ASSUME_NONNULL_BEGIN

@interface USChatCellFactory : NSObject

+ (void)registerAllCellsForTableView:(UITableView *)tableView;

+ (USChatCell*)cellForViewModel:(USMessageViewModel *)vm
                                              tableView:(UITableView *)tableView
                      indexPath:(NSIndexPath *)indexPath;

@end

NS_ASSUME_NONNULL_END
